﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Asset/EassetMaster.master" AutoEventWireup="true" CodeBehind="FixedAssetRegistryForm.aspx.cs" Inherits="Eassets.UI.Asset.FixedAssetRegistryForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="formtitle">
        <asp:Label ID="labelFormTitle" runat="server" Text="Fixed Asset Registry"></asp:Label>
    </div>
    <fieldset>
     <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelOrganizationLevelList" runat="server" Text="Organization Level List" CssClass="legendlabel_size2"></asp:Label>
                    <asp:DropDownList ID="dropDownListOrganizationLevelList" runat="server" CssClass="select"
                        AutoPostBack="true" OnSelectedIndexChanged="dropDownListOrganizationLevelList_SelectedIndexChanged">
                        <asp:ListItem Value="1" Text="-Select-"></asp:ListItem>
                        
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelMainCategory" runat="server" Text="Main Category" CssClass="legendlabel_size2"></asp:Label>
                    <asp:DropDownList ID="dropDownListMainCategory" runat="server" CssClass="select"
                        AutoPostBack="true"  OnSelectedIndexChanged="dropDownListMainCategory_SelectedIndexChanged" AppendDataBoundItems="true">
                        <asp:ListItem Value="" Text="-Select-"></asp:ListItem>
                        
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelSubCategory" runat="server" Text="Sub Category" CssClass="legendlabel_size2"></asp:Label>
                    <asp:DropDownList ID="dropDownListSubCategory" runat="server" CssClass="select" AutoPostBack="true"
                       OnSelectedIndexChanged="dropDownListSubCategory_SelectedIndexChanged">
                        <asp:ListItem Value="" Text="-Select-"></asp:ListItem>
                      
                    </asp:DropDownList>
                    <%-- <asp:Button ID="ButtonSubCategory" runat="server" Text="..." CssClass="button_browse" />--%>
                </div>
            </li>
        </ul>
         <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="label2" runat="server" Text="Asset" CssClass="legendlabel_size2"></asp:Label>
                    <asp:DropDownList ID="dropDownListAsset" runat="server" CssClass="select" AutoPostBack="true"
                       OnSelectedIndexChanged="dropDownListAsset_SelectedIndexChanged">
                        <asp:ListItem Value="" Text="-Select-"></asp:ListItem>
                       
                    </asp:DropDownList>
                    <%-- <asp:Button ID="ButtonSubCategory" runat="server" Text="..." CssClass="button_browse" />--%>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div>
                    <asp:GridView ID="gridViewFixedAssetRegistry" runat="server" Caption="Fixed Asset Registry" CssClass="ColStyle"
                        EmptyDataText="No data to display" AllowPaging="True" PageSize="10" AutoGenerateColumns="false">
                        <RowStyle CssClass="RowStyle" />
                        <AlternatingRowStyle CssClass="AltRowStyle" />
                        <HeaderStyle CssClass="GridHeader" />
                        <SelectedRowStyle CssClass="SelectedRowStyle" />
                        <Columns>
                            <asp:CommandField ItemStyle-Width="20" ShowSelectButton="True" ButtonType="Image"
                                SelectImageUrl="~/styles/images/Select_icon_button.gif" />
                             <asp:TemplateField HeaderText="AssetCode">
                                <ItemTemplate>
                                    <%# DataBinder.Eval(Container.DataItem, "Assets.Code")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="AssetSerialCode" DataField="AssetSerialCode" ItemStyle-Width="190" />
                            <asp:BoundField HeaderText="AssetStatus" DataField="AssetStatus" />
                            <asp:BoundField HeaderText="PurchasedDate" DataField="PurchasedDate" DataFormatString="{0:d}"/>
                            <asp:BoundField HeaderText="DepreciatedValue" DataField="DepreciatedValue" />
                             <asp:BoundField HeaderText="PurchaseValue" DataField="PurchasedValue" />
                            <asp:BoundField HeaderText="CumulativeDepValue" DataField="CumulativeDepValue" />
                            <asp:BoundField HeaderText="CurrentBookValue" DataField="CurrentBookValue" />
                            <asp:BoundField HeaderText="RemainingLifeTime" DataField="RemainingLifeTime" />
                          
                        </Columns>
                    </asp:GridView>
                </div>
            </li>
            <li>
                <br />
            </li>
        </ul>
       
    </fieldset>
    <br />
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div>
                    <table>
                        <tr>
                           <%-- <td class="style4">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="buttonPrint" runat="server" Text="Add" CssClass="buttonstyle" OnClick="ButtonAdd_Click" />
                                <asp:Button ID="buttonModify" runat="server" Text="Modify" CssClass="buttonstyle"
                                    OnClick="ButtonModify_Click" />
                                <asp:Button ID="buttonDelete" runat="server" Text="Delete" CssClass="buttonstyle"
                                    OnClick="ButtonDelete_Click" />
                            </td>--%>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="buttonPrint" runat="server" Text="Print" CssClass="buttonstyle" OnClick="ButtonPrint_Click" />
                                <asp:Button ID="buttonClear" runat="server" Text="Cancel" CssClass="buttonstyle"
                                     />
                            </td>
                        </tr>
                    </table>
                </div>
            </li>
        </ul>
    </fieldset>
</asp:Content>
